from flask_appbuilder import ModelView
from flask_appbuilder.models.sqla.interface import SQLAInterface
from app.models import AppSetting
from app import appbuilder, db


class AppSettingView(ModelView):
    datamodel = SQLAInterface(AppSetting)


appbuilder.add_view(AppSettingView, "AppSetting", icon="fa-folder-open-o", category="Company")

